/* Reset and Base Styles */
:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Full Height Setup */
html, body, #root {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f0f2f5; /* Moved from App.css */
}

/* --- ADDED RULES START --- */

/* Override React Flow's default selection outline */
.react-flow__node.selected, .react-flow__node:focus, .react-flow__node:focus-visible {
  outline: none;
  box-shadow: none;
}

/* Apply a custom, unified selection style to our nodes */
.react-flow__node.selected .custom-node-body {
  border: 1.5px solid #1890ff; /* Use theme blue for selection */
  box-shadow: 0 0 10px rgba(24, 144, 255, 0.2); /* Add a subtle glow effect */
}

/* --- ADDED RULES END --- */